package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用药禁忌表
 * </p>
 *
 * @author gxy
 * @since 2022-04-13
 */
@Getter
@Setter
@TableName("ncg_avoid")
@ApiModel(value = "NcgAvoid对象", description = "用药禁忌表")
public class NcgAvoid implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("名称")
      private String name;

      @ApiModelProperty("类型")
      private String type;

      @ApiModelProperty("发布人")
      private Long uid;

      @ApiModelProperty("发布时间")
      private LocalDateTime createtime;

      @ApiModelProperty("更新时间")
      private LocalDateTime updatetime;

      @ApiModelProperty("内容")
      private String details;


}
